_names_to_items

function _names_to_items(names: list<text>, types_map: map<text, item>): list<item>